package com.hzhk.happyrent.bean.bill;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Administrator on 2018/1/24 0024.
 */

public class ProductPeriodsBean {

    /**
     * errCode : 0
     * message : success
     * data : {"orders":[{"id":"10","main_order_sn":"2018012321234665168630","order_status":"6","goods_code":"SD151430406363-5","zu_date":"12","goods_name":"iPhone 8 Plus  全新国行","goods_id":"64","goods_image":"http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171130/151203991683336.png"}],"count_need_pay_money":4169,"count_need_pay_period":11}
     * time : 1516763775
     */

    @SerializedName("errCode")
    private int errCode;
    @SerializedName("message")
    private String message;
    @SerializedName("data")
    private DataBean data;
    @SerializedName("time")
    private int time;

    public int getErrCode() {
        return errCode;
    }

    public void setErrCode(int errCode) {
        this.errCode = errCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public static class DataBean {
        /**
         * orders : [{"id":"10","main_order_sn":"2018012321234665168630","order_status":"6","goods_code":"SD151430406363-5","zu_date":"12","goods_name":"iPhone 8 Plus  全新国行","goods_id":"64","goods_image":"http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171130/151203991683336.png"}]
         * count_need_pay_money : 4169
         * count_need_pay_period : 11
         */

        @SerializedName("count_need_pay_money")
        private String countNeedPayMoney;
        @SerializedName("count_need_pay_period")
        private int countNeedPayPeriod;
        @SerializedName("orders")
        private List<OrdersBean> orders;

        public String getCountNeedPayMoney() {
            return countNeedPayMoney;
        }

        public void setCountNeedPayMoney(String countNeedPayMoney) {
            this.countNeedPayMoney = countNeedPayMoney;
        }

        public int getCountNeedPayPeriod() {
            return countNeedPayPeriod;
        }

        public void setCountNeedPayPeriod(int countNeedPayPeriod) {
            this.countNeedPayPeriod = countNeedPayPeriod;
        }

        public List<OrdersBean> getOrders() {
            return orders;
        }

        public void setOrders(List<OrdersBean> orders) {
            this.orders = orders;
        }

        public static class OrdersBean {
            /**
             * id : 10
             * main_order_sn : 2018012321234665168630
             * order_status : 6
             * goods_code : SD151430406363-5
             * zu_date : 12
             * goods_name : iPhone 8 Plus  全新国行
             * goods_id : 64
             * goods_image : http://zuzulecf.oss-cn-beijing.aliyuncs.com/upload/20171130/151203991683336.png
             */

            @SerializedName("id")
            private String id;
            @SerializedName("main_order_sn")
            private String mainOrderSn;
            @SerializedName("order_status")
            private String orderStatus;
            @SerializedName("goods_code")
            private String goodsCode;
            @SerializedName("zu_date")
            private String zuDate;
            @SerializedName("goods_name")
            private String goodsName;
            @SerializedName("goods_id")
            private String goodsId;
            @SerializedName("goods_image")
            private String goodsImage;
            @SerializedName("price")
            private String price;
            @SerializedName("zu_back_num")
            private String zuBackNum;
            @SerializedName("order_id")
            private String orderId;

            public String getOrderId() {
                return orderId;
            }

            public void setOrderId(String orderId) {
                this.orderId = orderId;
            }

            public String getZuBackNum() {
                return zuBackNum;
            }

            public void setZuBackNum(String zuBackNum) {
                this.zuBackNum = zuBackNum;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getMainOrderSn() {
                return mainOrderSn;
            }

            public void setMainOrderSn(String mainOrderSn) {
                this.mainOrderSn = mainOrderSn;
            }

            public String getOrderStatus() {
                return orderStatus;
            }

            public void setOrderStatus(String orderStatus) {
                this.orderStatus = orderStatus;
            }

            public String getGoodsCode() {
                return goodsCode;
            }

            public void setGoodsCode(String goodsCode) {
                this.goodsCode = goodsCode;
            }

            public String getZuDate() {
                return zuDate;
            }

            public void setZuDate(String zuDate) {
                this.zuDate = zuDate;
            }

            public String getGoodsName() {
                return goodsName;
            }

            public void setGoodsName(String goodsName) {
                this.goodsName = goodsName;
            }

            public String getGoodsId() {
                return goodsId;
            }

            public void setGoodsId(String goodsId) {
                this.goodsId = goodsId;
            }

            public String getGoodsImage() {
                return goodsImage;
            }

            public void setGoodsImage(String goodsImage) {
                this.goodsImage = goodsImage;
            }
        }
    }
}
